#ifndef __FACEDETECT_H__
#define __FACEDETECT_H__
#include "detect.h"
#include <opencv2/objdetect/face.hpp>
#include <opencv2/opencv.hpp>
using namespace cv;
class FaceDectect : public DetectTask<Mat> {
    public:
        FaceDectect (const std::string modelpath, std::string id = "facedetect");
        virtual ~FaceDectect ();
    virtual void Run (const Mat &input,Mat& output);
    private:
        Ptr<FaceDetectorYN> detector;
};
#endif
